QADeviceGetFirstEngine
You can use theQADeviceGetFirstEngine
function to get the first drawing engine that can draw to a particular device.
TQAEngine *QADeviceGetFirstEngine (const TQADevice *device);
device
- A device, or the value
NULL
.DESCRIPTION
TheQADeviceGetFirstEngine
function returns, as its function result, the first drawing engine that is capable of drawing into the device specified by thedevice
parameter. The first engine is defined to be the first engine that satisfies one of these criteria:
If you pass the value
- The drawing engine selected by the user (for example, using the RAVE control panel).
- The drawing engine that is tightly coupled to the specified device (that is, that can render only to that device).
- The drawing engine that accelerates more features than any other drawing engine.
NULL
in thedevice
parameter,QADeviceGetFirstEngine
returns a drawing engine without regard for its ability to drive any particular device. You can use this technique to find all available engines.